<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>作业02</title>
	</head>
	<body>
		<script type="text/javascript">
			//公式：F = C × 9/5 + 32
			
			function Fahrenheit(C){
				return C * 9 /5 + 32;
			}
			
			console.log(0+'°C'+'='+Fahrenheit(0)+'°F');
			console.log(37+'°C'+'='+Fahrenheit(37)+'°F');
			console.log(100+'°C'+'='+Fahrenheit(100)+'°F');
		</script>
	</body>
</html>